Translog Production and Cost Functions

Author
Affiliation

Mingze Gao, PhD

Macquarie University

Published

October 13, 2023

In this post, I’ll carefully explain the derivation of cost function from a CES production function, as well as the derivation of translog (transcendental logarithmic) production and cost functions.

Cost

Production

approximation

approximation

Conversion via Duality

Production Function

Translog Production Function

Cost Function

Translog Cost Function

Figure 1: A diagram of the relationship between production functions and cost functions.

Before I start, the graph above illustrate the relations. Specifically, we can derive the cost function from a CES production function via the duality theorem. Translog production and translog cost functions are approximations to the production and corresponding cost function, respectively, via Taylor expansion.

CES Production Function

Let’s start from the a general production function, CES (Constant Elasticity of Substitution).

The standard CES production function with two factors X1 and X2 is given by:

(1)Q=A(α1X1ρ+α2X2ρ)1ρ

where α1+α2=1, A is a scale parameter, α is the distribution parameter, and ρ is the substitution parameter.

Note

The Cobb-Douglas production function is a special case of the CES function when ρ0:

Q=AX1αX21α

Translog Production Function

Taking the natural logarithm of both sides of Equation , we get:

(2)lnQ=lnA+1ρln[αX1ρ+(1α)X2ρ]

The Taylor expansion of 1ρln[αX1ρ+(1α)X2ρ] around ρ=0 is

1 This is computed in Mathematica:

expr = Series[1/rho * Log[alpha*X1^rho + (1 - alpha)*X2^rho], {rho, 0, 1}];
simplifiedExpr = FullSimplify[expr];
TeXForm[simplifiedExpr]

(3)αlnX1+(1α)lnX212ρ[(α1)α(lnX1lnX2)2]+O(ρ2)

Omitting O(ρ2) and substituting the Taylor expansion into Equation , we have

(4)lnQ=lnA+αlnX1+(1α)lnX212ρ[(α1)α(lnX1lnX2)2]

which clearly is a function of lnX1, lnX2 and their interaction terms.

We can therefore reparameterize Equation and get the Translog production function:

lnQ=a0+a1lnX1+a2lnX2+b11(lnX1)2+b22(lnX2)2+b12lnX1lnX2

Here, a1 and a2 are coefficients that capture the first-order effects, and b11, b22, and b12 are coefficients that capture the second-order effects.

Note

If we use fist-order Taylor expansion in Equation instead, we will end up with a log-linear production function.

Derive Cost Function From Production Function

Given the CES production function , we can derive the cost function via the duality theorem.

Duality in a nutshell
  1. The production function describes the maximum output Q that can be produced given the input factors.
  2. Given a production function and input prices, the firm aims to minimize its costs subject to the constraint of producing a given output level Q. This leads to a cost minimization problem.

Cost minimization and the production maximization are essentially “dual” to each other. The conditions that solve one problem can be used to solve the other. This is a manifestation of the more general concept of duality in optimization theory.

Recall that the CES production function is

Q=A(α1X1ρ+α2X2ρ)1ρ

The firm’s cost function is

(5)C=w1X1+w2X2

where w1 and w2 are the factor prices.

Cost minimization problem

To derive the cost function from the given CES production function, we need to find the minimum cost of producing a given level of output Q given input prices w1 and w2.

The cost minimization problem is:

minX1,X2C=w1X1+w2X2

subject to:

A(α1X1ρ+α2X2ρ)1ρ=Q

Solving the problem

This part is math-heavy. The derived cost function is given by Equation .

The Lagrangian for this problem is:

L=w1X1+w2X2+λ[QA(α1X1ρ+α2X2ρ)1ρ]

Take the first-order conditions:

LX1=w1λAα1ρX1ρ1(α1X1ρ+α2X2ρ)1ρ1=0LX2=w2λAα2ρX2ρ1(α1X1ρ+α2X2ρ)1ρ1=0Lλ=QA(α1X1ρ+α2X2ρ)1ρ=0

Solve the first two equations for λ:

(6)λ=w1Aα1ρX1ρ1(α1X1ρ+α2X2ρ)1ρ1=w2Aα2ρX2ρ1(α1X1ρ+α2X2ρ)1ρ1

Simplifying , we get:

(7)w1X2ρ1α2=w2X1ρ1α1

Manipulating , we have:

X1X2=(α2w1α1w2)1ρ1

so that

(α2w1)ρρ1X2ρ=(α1w2)ρρ1X1ρ(w1ρρ1α11ρ1)α2X2ρ=(w2ρρ1α21ρ1)α1X1ρ

Adding (w2ρρ1α21ρ1)α2X2ρ to both sides, we have

(w1ρρ1α11ρ1)α2X2ρ+(w2ρρ1α21ρ1)α2X2ρ=(w2ρρ1α21ρ1)α1X1ρ+(w2ρρ1α21ρ1)α2X2ρ(w1ρρ1α11ρ1+w2ρρ1α21ρ1)α2X2ρ=(w2ρρ1α21ρ1)(α1X1ρ+α2X2ρ)

Raise both sides to the power of 1ρ, we have

(8)(w1ρρ1α11ρ1+w2ρρ1α21ρ1)1ρα21ρX2=(w2ρρ1α21ρ1)1ρ(α1X1ρ+α2X2ρ)1ρ

Let K=(w1ρρ1α11ρ1+w2ρρ1α21ρ1)1ρ, observe that QA=(α1X1ρ+α2X2ρ)1ρ, we can simplify to

Kα21ρX2=(w2ρρ1α21ρ1)1ρQA

Therefore, X2 is given by

(9)X2=K1w21ρ1α21ρ1QA

We can similarly get X1

(10)X1=K1w11ρ1α11ρ1QA

Substituting and into the cost function , we have

C=w1X1+w2X2=K1w1ρρ1α11ρ1QA+K1w2ρρ1α21ρ1QA=QAK1(w1ρρ1α11ρ1+w2ρρ1α21ρ1)

Since K=(w1ρρ1α11ρ1+w2ρρ1α21ρ1)1ρ, we have the derived cost function:

Cost function derived from CES production function

(11)C=QA(w1ρρ1α11ρ1+w2ρρ1α21ρ1)ρ1ρ

Translog Cost Function

Taking the natural logarithm of both sides of Equation , we get:

(12)ln(C)=ln(QA)+ρ1ρln(w1ρρ1α11ρ1+w2ρρ1α21ρ1)

The Taylor expansion of ρ1ρln(w1ρρ1α11ρ1+w2ρρ1α21ρ1) around ρ=0 is

2 This is computed in Mathematica, too.

(13)((α21)lnα1α2(lnα2+lnw1lnw2)+lnw1)+12(α21)α2ρ(lnα1lnα2lnw1+lnw2)2+O(ρ2)

Omitting O(ρ2) and substituting the Taylor expansion into Equation , we have

(14)lnC=lnA+lnQ+((α21)lnα1α2(lnα2+lnw1lnw2)+lnw1)+12(α21)α2ρ(lnα1lnα2lnw1+lnw2)2

which clearly is a function of lnQ; lnw1, lnw2 and their interaction terms.

We can therefore reparameterize Equation and get the Translog cost function:

(15)lnC=a0+a1lnQ+b11lnw1+b22lnw2+b12lnw1lnw2

Why there is no interaction between lnQ and lnw?

This is NOT an error! It is because we started from a standard CES production function, which doesn’t include interaction terms.

A more general form of translog cost function includes interaction terms lnQlnw because the underlying production function is even more flexible than the standard CES production function. This is the beauty of translog.

In a general form, the translog cost function lnC(Q,W) as a function of output Q and a vector of n input prices W is represented as

(16)lnC(Q,W)=β0+β1lnQ+12β2(lnQ)2+i=1nγilnWi+12i=1nj=1nθijlnWilnWj+i=1nϕilnQlnWi

Note that here it includes a quadratic term for lnQ and interactions between lnQ and lnW. As a result, it can approximate a wide range of very complex cost functions (hence complex underlying production function, via duality).

Linear Homogeneity Constraint

In economic theory, a cost function is often assumed to be linearly homogeneous in input prices. This means that if all input prices Wi are scaled by a constant λ>0, the total cost C should also scale by the same constant λ. Mathematically, this is expressed as:

C(Q,λW)=λC(Q,W)

Linear homogeneity is an important property because it ensures that the cost function is consistent with the idea of constant returns to scale in prices.

Implications for parameters

If we take the total differential of the log cost, holding output constant, we have,

dlnC=i=1nγidlnWi+12i=1nj=1nθijlnWjdlnWi+i=1nϕilnQdlnWi

By assumption, all input prices scale by the same factor λ so that dlnWi is the same across all n inputs. Therefore, we can factor it out, which gives,

dlnC=dlnW¯i=1nγi+dlnW¯212i=1nj=1nθij+dlnW¯lnQi=1nϕi

To ensure dlnCdlnW¯=1 hence linear homogeneity in the translog cost function, the following conditions must be met:

i=1nγi=1j=1nθij=0for all ii=1nϕi=0

Tip

See Translog Cost Function Estimation for estimation notes and code example.

Back to top